const { Schema, model } = require("mongoose");

const categorySchema = new Schema({
  categoryId: {
    type: Number,
    unique: true,
  },
  name: {
    type: String,
    unique: true,
  },
});

module.exports.CategoryModel = model("categoryModel", categorySchema);
